﻿@model HomeWorkAug19.Models.Bucket
@{
    ViewBag.Title = "Battle";
}

<h2>Battle</h2>

<table>
   <tr>
        <th></th>
    @foreach (var hero in Model.heroes)
    {
        
        <td>
            @hero.Name
        </td>
        <td></td>
    }
        
        </tr>
    <tr>
        <th>VS.</th>
    @foreach(var villain in Model.villains)
    {
        <td></td>
        <td>
            @villain.Name
        </td>
    }
    </tr>
</table>

@*<div>@Model.heroes[0].Name</div>*@

@*<table>
    <tr>
    </tr>
    @foreach(var hero in Model.hero) { 
    <tr><td>@hero.Name</td>
    </tr>
    }
    @foreach(var villain in Model.villain)
    {
        <tr>
            <td>@villain.Name</td>
        </tr>
    }
</table>*@

